package com.ruicar.afs.cloud.common.mq.rabbit.message;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * The type MqTransCode
 * <p>Description: 交易码定于</p>
 * key  必须唯一
 *
 * @author Fzero
 * @version 1.0
 * @date Created on 2020.06.20 10:35:13
 * @since 1.0
 */
public enum MqTransCode implements AfsBaseEnum {
    @AfsEnum(key = "demoCode", desc = "demo")
    AFS_TEST_DEMO_TRANS_CODE,

    /**
     * Afs pos apply case ctm new order mq trans code
     * <p>Description: </p>
     */
    @AfsEnum(key = "create_new", desc = "进件新建订单")
    AFS_POS_APPLY_CASE_CTM_NEW_ORDER,
    /**
     * Afs pos apply case ctm modify order mq trans code
     * <p>Description: </p>
     */
    @AfsEnum(key = "order_modify", desc = "进件修改订单")
    AFS_POS_APPLY_CASE_CTM_MODIFY_ORDER,
    /**
     * Afs pos apply case ctm new loan mq trans code
     * <p>Description: </p>
     */
    @AfsEnum(key = "loan_new", desc = "新增放款申请")
    AFS_POS_APPLY_CASE_CTM_NEW_LOAN,

    @AfsEnum(key = "loan_modify", desc = "放款修改合同")
    AFS_POS_APPLY_CASE_CTM_MODIFY_LOAN,

    @AfsEnum(key = "case_contract_data", desc = "合同系统数据传输")
    AFS_POS_CASE_CONTRACT_CTM_DATA,

    @AfsEnum(key = "contract-basic-pos-apply", desc = "推送合同激活信息到进件")
    CONTRACT_BASIC_POS_APPLY,
    /**
     * Afs contract basic finance contract arrive success trans code
     * <p>Description: </p>
     */
    @AfsEnum(key = "arrive_success", desc = "资金入账成功")
    AFS_CONTRACT_BASIC_FINANCE_CONTRACT_ARRIVE_SUCCESS,

    @AfsEnum(key = "accept_success", desc = "信审入库成功")
    AFS_POS_APPLY_CASE_CTM_MODIFY_ORDER_ACCEPT_SUCCESS,
    /**
     * Afs contract finance basic contract start receiptHandle trans code
     * <p>Description: </p>
     */
    @AfsEnum(key = "start_receiptHandle", desc = "账务初始化成功")
    AFS_CONTRACT_FINANCE_BASIC_CONTRACT_START_RECEIPTHANDLE,
    /**
     * Afs contract basic finance contract receiptHandle complete trans code
     * <p>Description: </p>
     */
    @AfsEnum(key = "receiptHandle_complete", desc = "收据处理完成")
    AFS_CONTRACT_BASIC_FINANCE_CONTRACT_RECEIPTHANDLE_COMPLETE,
    @AfsEnum(key = "cancel_agree", desc = "撤销收款审核通过")
    AFS_CONTRACT_BASIC_FINANCE_CONTRACT_CANCEL_AGREE,
    @AfsEnum(key = "refund_agree", desc = "退款审核通过")
    AFS_CONTRACT_BASIC_FINANCE_CONTRACT_REFUND_AGREE,

    @AfsEnum(key = "update_status", desc = "更新挂靠状态")
    AFS_CHANNEL_CHANNEL_CASE_CTM_UPDATE_STATUS,
    @AfsEnum(key = "save_affiliation", desc = "保存挂靠及合作商信息")
    AFS_CHANNEL_CHANNEL_CASE_CTM_SAVE_AFFILIATION,
    @AfsEnum(key = "save_failed_message", desc = "发送失败mq信息保存")
    AFS_COMMON_COMMON_CASE_CTM_SAVE_FAILED_MESSAGE,
    @AfsEnum(key = "update_rel", desc = "更新合作商状态")
    AFS_CHANNEL_CHANNEL_CASE_CTM_UPDATE_REL,
    @AfsEnum(key = "attachment_new", desc = "进件附件信息存储")
    AFS_POS_APPLY_CASE_CTM_NEW_ATTACHMENT,

    @AfsEnum(key = "genera_success", desc = "未知收款")
    AFS_CONTRACT_MANAGE_FINANCE_CONTRACT_GENERA_SUCCESS,

    @AfsEnum(key = "template", desc = "模板信息存储")
    AFS_POS_APPLY_CASE_CTM_NEW_TEMPLATE,

    @AfsEnum(key = "template_type", desc = "模板类别信息存储")
    AFS_POS_APPLY_CASE_CTM_NEW_TEMPLATE_TYPE,

    // add by gjq 20200726
    @AfsEnum(key = "turn_urgent", desc = "更换加急状态")
    AFS_POS_APPLY_CASE_CTM_TURN_URGENT,

    @AfsEnum(key = "attachment_channel_new", desc = "渠道附件信息存储")
    AFS_POS_CHANNEL_CASE_CTM_NEW_ATTACHMENT,
    // add by gjq 20200728
    @AfsEnum(key = "assets_reconsider", desc = "进件资产修正")
    AFS_POS_APPLY_CASE_CTM_ASSETS_RECONSIDER,
    //add by xiaolong 20200803
    @AfsEnum(key = "assets_reconsideration", desc = "复议申请")
    AFS_POS_APPLY_CASE_CTM_ASSETS_RECONSIDERATION,
    @AfsEnum(key = "gps_again_distribute", desc = "GPS二次派单")
    AFS_POS_APPLY_CASE_CTM_GPS_AGAIN_DISTRIBUTE,
    //add by gjh 20200808
    @AfsEnum(key = "preapprove_info_push", desc = "预审批消息推送")
    AFS_POS_APPLY_CASE_CTM_PREAPPROVE_INFO_PUSH,

    @AfsEnum(key = "approve_prev_result_notice", desc = "预审批处理结果推送")
    AFS_POS_CASE_APPLY_CTM_APPROVE_PREV_NOTICE,

    @AfsEnum(key = "afs_voucher_flow_push",desc = "凭证流水推送")
    AFS_VOUCHER_FLOW_PUSH,

    @AfsEnum(key = "contract_basic_case_ctm", desc = "合同激活数据推送失败")
    AFS_CONTRACT_BASIC_CASE_CTM_ACTIVATION_STATUS,

    @AfsEnum(key = "AFS_POS_CONTRACT_VOUCHER_FLOW_PUSH",desc = "凭证流水推送")
    AFS_POS_CONTRACT_VOUCHER_FLOW_PUSH,

    @AfsEnum(key = "conditional_notice", desc = "附条件核准消息推送")
    AFS_POS_CASE_APPLY_CTM_APPROVE_CONDITIONAL_NOTICE,

    @AfsEnum(key = "boss-case-manage-icos", desc = "合同系统模板信息存储")
    AFS_POS_CASE_CONTRACT_CTM_NEW_TEMPLATE,

    @AfsEnum(key = "save_witness", desc = "添加见证人如果有就修改")
    AFS_CHANNEL_CHANNEL_CASE_CTM_SAVE_WITNESS,

    @AfsEnum(key = "wow-apply-manage-icos", desc = "进件生成的合同pdf同步到合同系统")
    WOW_APPLY_MANAGE_ICOS_CONTRACT_PDF,

    @AfsEnum(key = "attachment_new_apply", desc = "渠道影像件存储进件")
    CHANNEL_CHANNEL_APPLY_POS_NEW_ATTACHMENT_APPLY,

    @AfsEnum(key = "send_vehicle_brand_apply", desc = "车型库同步数据到进件")
    CHANNEL_CHANNEL_APPLY_POS_SEND_VEHICLE_BRAND_APPLY,

    @AfsEnum(key = "send_vehicle_main_apply", desc = "车型库同步数据到进件")
    CHANNEL_CHANNEL_APPLY_POS_SEND_VEHICLE_MAIN_APPLY,

    @AfsEnum(key = "send_vehicle_brand_case", desc = "车型库同步数据到案件")
    AFS_CHANNEL_CHANNEL_CASE_CTM_SEND_VEHICLE_BRAND_CASE,

    @AfsEnum(key = "send_vehicle_main_case", desc = "车型库同步数据到进件")
    AFS_CHANNEL_CHANNEL_CASE_CTM_SEND_VEHICLE_MAIN_CASE,

    //add_by rongji.zhang 2020.08.30
    @AfsEnum(key = "loan_discard", desc = "废弃放款申请")
    AFS_POS_APPLY_CASE_CTM_DISCARD_LOAN,

    @AfsEnum(key = "dealer_call_back", desc = "经销商撤回申请")
    AFS_POS_APPLY_CASE_CTM_CALL_BACK,

    @AfsEnum(key = "approve_call_back", desc = "审批员撤回申请")
    AFS_POS_APPLY_CASE_CTM_APPROVE_CALL_BACK,

    // add by gjq 20200728
    @AfsEnum(key = "approve_open", desc = "审批过程‘打开’状态通知")
    AFS_POS_APPLY_CASE_CTM_APPROVE_OPEN_RESULT,

    @AfsEnum(key = "send_channel_file_apply", desc = "见证人影像资料数据到进件")
    CHANNEL_CHANNEL_APPLY_POS_SEND_CHANNEL_FILE_APPLY,

    // add by gjq 20200728
    @AfsEnum(key = "case_update_send", desc = "附条件核准、核准、退回经销商数据推送")
    AFS_POS_APPLY_CASE_CTM_APPROVE_CASE_UPDATE_SEND,

    @AfsEnum(key = "apply_file_to_channel", desc = "进件挂靠影像推送渠道")
    AFS_POS_APPLY_CHANNEL_CHANNEL_SEND_FILE_TO_CHANNEL,

    @AfsEnum(key = "channel_file_to_apply", desc = "渠道挂靠影像推送进件")
    CHANNEL_CHANNEL_POS_APPLY_SEND_FILE_TO_APPLY,

    @AfsEnum(key = "channel_commonc_car_dealer_to_case", desc = "普通车商推送案件")
    CHANNEL_COMMONC_CAR_DEALER_TO_CASE,

    @AfsEnum(key = "channel_online_dealer_info__to_case", desc = "渠道上线信息推送案件")
    CHANNEL_ONLINE_DEALER_INFO__TO_CASE,
    //add by xiaolong 20201011
    @AfsEnum(key = "deal_with_message", desc = "经我处理追加留言通知案件")
    AFS_POS_APPLY_CASE_CTM_DEAL_WITH_MESSAGE,
    // add by gjq 20201015
    @AfsEnum(key = "ase_repeal_send", desc = "进件端撤销通知")
    AFS_POS_APPLY_CASE_CTM_APPROVE_CASE_REPEAL_SEND,
}
